package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 资料类别对象 a_train_infor
 * 
 * @author ruoyi
 * @date 2024-05-29
 */
public class ATrainInfor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 封面图 */
    @Excel(name = "封面图")
    private String coverImg;

    /** 培训视频 */
    @Excel(name = "培训视频")
    private String trainVideo;

    /** 详情 */
    @Excel(name = "详情")
    private String trainDetails;

    /** 培训密码 */
    @Excel(name = "培训密码")
    private String trainWord;

    /** 权限 */
    @Excel(name = "权限")
    private String agentLevel;

    /** 培训类型ID */
    private Long trainId;

    /** 逻辑删除 */
    private Long delFlag;

    /** 是否上线 */
    @Excel(name = "是否上线")
    private Boolean isShow;

    /** 排序 */
    @Excel(name = "排序")
    private Integer numSoft;

    /** 是否展示密码 */
    @Excel(name = "是否展示密码")
    private Boolean isWord;

    /** 审核状态0申请1同意2驳回 */
    @Excel(name = "审核状态0申请1同意2驳回")
    private String isState;

    private List<String> listImg;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public String getTrainVideo() {
        return trainVideo;
    }

    public void setTrainVideo(String trainVideo) {
        this.trainVideo = trainVideo;
    }

    public String getTrainDetails() {
        return trainDetails;
    }

    public void setTrainDetails(String trainDetails) {
        this.trainDetails = trainDetails;
    }

    public String getTrainWord() {
        return trainWord;
    }

    public void setTrainWord(String trainWord) {
        this.trainWord = trainWord;
    }

    public Long getTrainId() {
        return trainId;
    }

    public void setTrainId(Long trainId) {
        this.trainId = trainId;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public Boolean getIsShow() {
        return isShow;
    }

    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    public Integer getNumSoft() {
        return numSoft;
    }

    public void setNumSoft(Integer numSoft) {
        this.numSoft = numSoft;
    }

    public String getAgentLevel() {
        return agentLevel;
    }

    public void setAgentLevel(String agentLevel) {
        this.agentLevel = agentLevel;
    }

    public List<String> getListImg() {
        return listImg;
    }

    public void setListImg(List<String> listImg) {
        this.listImg = listImg;
    }

    public Boolean getIsWord() {
        return isWord;
    }

    public void setIsWord(Boolean isWord) {
        this.isWord = isWord;
    }

    public String getIsState() {
        return isState;
    }

    public void setIsState(String isState) {
        this.isState = isState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("trainVideo", getTrainVideo())
            .append("passWord", getTrainWord())
            .append("trainId", getTrainId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .append("isShow", getIsShow())
            .append("numSoft", getNumSoft())
            .toString();
    }
}
